Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/sdk: Allow signature to be empty in core sdk TransactionOnNetwork #1786

Merged

Conversation

raress96
Copy link
Contributor

@raress96 raress96 commented Oct 1, 2024

Hello, I recently ran into an issue with the Rust SDK not being able to retrieve unsigned transactions from the blockchain (i.e: inter contract transactions in a callback):
https://devnet-gateway.multiversx.com/transaction/34cd9c6d0f68c0975971352ed4dcaacc1acd9a2dbd8f5840a2866d09b1d72298?withResults=true

It seems that the issue was that in the SDK the signature field was required, while for these kinds of transactions there is no signature.

Added a default value to the field in order to preserve backwards compatibility.

@andrei-marinica andrei-marinica merged commit 54efcb9 into multiversx:master Oct 1, 2024
13 checks passed
@raress96 raress96 deleted the fix_sdk_decoding_transaction branch October 1, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants